<?php
/**
 * Created by PhpStorm.
 * User: 氓羽
 * Date: 2018-4-1
 * Time: 17:26
 */
namespace study;
class Study{
    public static function who(){
        echo 'A类的who方法';
    }

    public static  function test(){
        //self::who();
        static::who();
    }
}

class Who extends Study{
    public static function who(){
        echo 'B类的who方法';
    }}


Who::test();

